package org.pojo;
public class User implements java.io.Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String username;//账号
	private String nickname;//昵称
	private String password;//密码
	private String sex; //性别
	private String sign;//签名
	private String photo;//头像
	private String show;//qqshow
	private int userid;//ID
	public User(String username, String  password)//登录构造函数
	{
		this.username = username;
		this.password = password;
	}
	public User(String username,String nickname, String password,String sex,String sign,String photo)//注册构造函数
	{
		this.username = username;
		this.nickname = nickname;
		this.password = password;
		this.sex = sex;
		this.sign = sign;
		this.photo = photo;
	}
	public User(String nickname,String sex,String sign,String photo,int userid)//状态构造函数
	{
		this.nickname = nickname;
		this.sex = sex;
		this.sign = sign;
		this.photo = photo;
		this.userid = userid;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String userid) {
		this.username = userid;
	}
	
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getNickname() {
		return nickname;
	}
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getPhoto() {
		return photo;
	}
	public void setPhoto(String photo) {
		this.photo = photo;
	}
	public String getSign() {
		return sign;
	}
	public void setSign(String sign) {
		this.sign = sign;
	}
	public String getShow() {
		return show;
	}
	public void setShow(String show) {
		this.show = show;
	}
	public int getUserid() {
		return userid;
	}
	public void setUserid(int userid) {
		this.userid = userid;
	}
}
